package com.poker.wiki.Service;

import com.github.pagehelper.PageInfo;
import com.poker.wiki.entity.Category;
import com.poker.wiki.req.CategoryQueryReq;
import com.poker.wiki.req.CategorySaveReq;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CategoryService {
    List<Category> getAllCategory();

    void delete(Long id);

    void save(CategorySaveReq req);

    PageInfo<Category> findCategory(CategoryQueryReq req);
}
